<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jQuery-Ajax</title>
</head>

<body>

    <script src="./js/jQuery/jquery-3.4.1.js"></script>
    <script>
        // $.ajax({
        //     url: 'http://localhost:3000/jq01',
        //     success: function(data) {
        //         console.log(data);
        //     }

        // });

        // $.ajax({
        //     url: 'http://localhost:3000/jq02',
        //     success: function(data) {
        //         console.log(data);
        //     }
        // });

        // $.ajax({
        //     url: 'http://localhost:3000/jq03',
        //     success: function(data) {
        //         console.log(data);
        //     }
        // });


        $.ajax({
            url: 'http://localhost:3000/jq01',
            success: function(data) {
                console.log(data);
                $.ajax({
                    url: 'http://localhost:3000/jq02',
                    success: function(data) {
                        console.log(data);
                        $.ajax({
                            url: 'http://localhost:3000/jq03',
                            success: function(data) {
                                console.log(data);
                            }
                        });
                    }
                });
            }
        });
    </script>
</body>

</html>